﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditNews.aspx.cs" Inherits="GD.ModelContest.Web.Admin.EditNews" ValidateRequest="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>编辑新闻</title>
    <link rel="stylesheet" type="text/css" href="js/themes/default/easyui.css" />
    <link rel="stylesheet" type="text/css" href="js/themes/icon.css" />

    <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>

    <script type="text/javascript" src="js/jquery.easyui.min-1.1.2.js"></script>

    <script type="text/javascript" src="/ckeditor/ckeditor.js"></script>

</head>
<body>
    <form id="form1" runat="server">
    <table style="line-height: 30px; font-size: 12px;">
        <tr>
            <td style="width: 60px;">
                新闻标题：
            </td>
            <td>
                <asp:TextBox ID="txtTitle" runat="server" Width="400"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                新闻类别：
            </td>
            <td>
                <asp:DropDownList ID="ddlNewsType" runat="server">
                    <asp:ListItem Text="赛事公告" Value="1"></asp:ListItem>
                    <asp:ListItem Text="新闻速递" Value="2"></asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                新闻内容：
            </td>
            <td>
                <asp:TextBox ID="txtContent" runat="server" Rows="10" TextMode="MultiLine" Width="100%"></asp:TextBox>

                <script type="text/javascript">CKEDITOR.replace('txtContent')</script>

            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:LinkButton ID="lkbEdit" runat="server" CssClass="easyui-linkbutton" icon="icon-add"
                    OnClick="lkbEdit_Click">修改</asp:LinkButton>
                <asp:LinkButton ID="lkbCancel" runat="server" CssClass="easyui-linkbutton" icon="icon-cancel">取消</asp:LinkButton>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
